package com.czmh.etc.onlinepubsys.controller.ue;

import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/{version}/api/ue/auth")
@Api(tags = "4.1认证接口相关 -联合电子")
public class UeController {
/*

    @PostMapping("/queryToken")
    @ApiOperation("获取token")
    public JSONResult queryToken() {
        JSONResult result = new JSONResult();
        log.info("queryToken:{}");
        ApiResponse r = UeHttpUtil.postToken(BusinessType.PARTNER_LOGIN, null);
        if (r != null && r.getSuccess()) {
            if (r.getSuccess()) {
                result.setRspData(JSON.toJSONString(r.getObject()));
                result.setMessage(r.getMsg());
            }
        } else {
            result.setCode(r != null ? r.getCode() : JSONResult.FAIL);
            result.setMessage(r != null ? r.getMsg() : "服务器开小差，请稍后再试！");
        }
        return result;
    }
*/

}
